Capella Diagram Editor

Introduction

The diagram View is the main View in Capella. The palette on the right side of the diagram area is different according to the current diagram.

Once a tool is selected in the palette, holding the “CTRL” key while clicking in the diagram area will keep the tool active, so that is it possible to create several elements or links in a raw. If the “CTRL” click is not hold, then the focus is automatically set on the new created element.

Two kinds of diagrams are distinguished:

Note: Blank diagrams can be unsynchronized: in that case for example, Ports on Functions would not appear automatically. When a diagram is unsynchronized, new Insert / Remove tools become available in the diagram palette. This is convenient for management of very big models. See Embedded DoReMi User Guide.

Creation of new diagrams or navigation between diagrams can be achieved through the “New” and “Open” commands of the contextual menu on the elements appearing on the diagram, directly from the browser, or from the methodological Activity Browser.



Default name of diagrams is prefixed with an acronym standing for the diagram type (for example SFBD for System Function Breakdown).

Diagram Palettes





Diagram Toolbar

The diagram toolbar is contextual: different tools are available if a diagram or a diagram element is currently selected.

  1. Arrange All tools (automatic layouts)
  2. Selection tools
  3. The refresh diagram button allows to update the diagram according to the content of the model when the automated synchronization is not activated (Control+R)
  4. Selection of active layers
  5. Selection of active filters
  6. Show/Hide dialog (select which elements of the diagram are visible or not)
  7. Pin/Unpin dialog (select which elements of the diagram cannot be moved by automatic layouts)
  8. Paste layout on the current diagram
  9. Zoom in
  10. Zoom out
  11. Zoom factor
  12. Export the current diagram as an image
  13. Switch on/off the layout mode on the diagram

The diagram “layout” mode disables operations likely to modify the semantic model (for example the semantic drag and drop) so that the end user can focus on layout tasks without being afraid to trigger an unexpected model update.

Focus on 5, selection of active filters



Focus on 4, selection of active layers



Diagram Element Toolbar

  1. Arrange selected elements (partial layout)
  2. Alignment tools
  3. Pin selected elements
  4. Unpin selected elements
  5. Copy layout of selected elements
  6. Hide selected elements
  7. Delete selected elements from diagram
  8. Delete selected elements from model
  9. Police related tool : Bold
  10. Police related tool : Italic
  11. Police related tool : Font Color
  12. Police related tool : Font
  13. Color background selection
  14. Line color
  15. Line style
  16. Insert image tool
  17. Reset custom style
  18. Apply the applicable custom settings of the first element to other selected elements
  19. Make height and width identical for all selected elements (the referenced element is the last selected one)
  20. Auto size

In both Bank and Contextual diagrams, some elements appear automatically. It is not possible to delete from diagram calculated elements (for example, a Function Port owned by a Function, or a Functional Exchange between two Function Ports).

If the user wants to hide a calculated element on a contextual diagram, he must use the “Show/Hide” tools.

Focus on 16: It is possible to customize the presentation of elements shown in diagrams using external images. The first step is to import image resources in the current Eclipse project. This can be achieved easily using a drag and drop in Windows.

The next step is to select in the diagram the model element to be customized and click on the “Insert image tool” of the toolbar. A dialog appears, allowing to chose among the images already present in the workspace:



The result can be the following:



Matrixes

The Diagram View is also used for Simple and Cross Tables. A CSV export tool is provided for these tables, allowing for example to retrieving allocation matrices in Excel.